#ifndef _ZUOYE_H__
#define _ZUOYE_H__

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct _Node
{
    int data;
    struct _Node *next;
}node_t;

int creat_node (node_t **p,int num);
int insert_list_by_head (node_t *phead,int num);
int print_list(node_t *phead);
int insert_list_by_tail(node_t *phead,int num);
int insert_list_by_pos(node_t *phead,int pos,int num);
int delete_list_by_head(node_t *phead);
int delete_list_by_tail(node_t *phead);
int delete_list_by_pos(node_t *phead,int pos);
#endif